package com.quanquan.user.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 功能描述:
 *
 * @ClassName: commercialDouble
 * @Author: xiaoqianh丶
 * @Date: 2019-07-04 13:53
 * @Version: V1.0
 */
@Data
@Table(name = "oo_commercial_double")
@Entity
public class CommercialDouble {

    /** 主键
     */
    @Id
    @Column(name = "id", unique = true, length = 64)
    private String id;

    /**
     * 规则id
     */
    @Column(name = "marking_rules_id",length = 64)
    private String markingRulesId;


    /**
     * 业态id
     */
    @Column(name = "commercialId",length = 64)
    private String commercialId;

    /**
     * 翻倍数
     */
    @Column(name = "num",columnDefinition = "INT default 0")
    private Integer num;


    /**
     * 数据是否移除
     */
    @Column(name = "status_remove", columnDefinition = "TINYINT default 0")
    private Integer remove;

    /**
     * 创建时间
     */
    @Column(name = "create_time", nullable = false, length = 32)
    private String createTime;


}
